home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 117 / PC Guia 117.iso / Software / Utils / Software6 / Product13 / googlebar-0.9.5.06-fx.xpi / chrome / googlebar.jar / content / googlebarOverlay.xul < prev    next >
Extensible Markup Language  |  2005-02-21  |  38KB  |  999 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Googlebar for Mozilla.
  16.    -
  17.    - The Initial Developer of the Original Code is Andy Edmonds.
  18.    - Portions created by the Initial Developer are Copyright (C) 2001
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s):
  22.    -  Andy Boughton
  23.    -  Andrew Houghton
  24.    -  John Woods
  25.    -  Bernd Kuemmerlen     
  26.    -  Robert Mulcahy
  27.    -  Alfred Kayser
  28.    -  Reflex
  29.    -  Gary Turnbull
  30.    -  Raj Bhaskar
  31.    -  Joachim Thewes
  32.    -  Henrik Gemal
  33.    -  Robert Fernandes
  34.    -  Joe Chellman
  35.    -  Franki Cheung
  36.    -  Alban Fonrouge
  37.    -  Martin Hassman
  38.    -  Ufuk Kayserilioglu
  39.    -  Francis Turner
  40.    -
  41.    - Alternatively, the contents of this file may be used under the terms of
  42.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  43.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  44.    - in which case the provisions of the GPL or the LGPL are applicable instead
  45.    - of those above. If you wish to allow use of your version of this file only
  46.    - under the terms of either the GPL or the LGPL, and not to allow others to
  47.    - use your version of this file under the terms of the MPL, indicate your
  48.    - decision by deleting the provisions above and replace them with the notice
  49.    - and other provisions required by the LGPL or the GPL. If you do not delete
  50.    - the provisions above, a recipient may use your version of this file under
  51.    - the terms of any one of the MPL, the GPL or the LGPL.
  52.    -
  53.    - ***** END LICENSE BLOCK ***** -->
  54.  
  55. <?xml-stylesheet href="chrome://googlebar/content/skin/default.css" type="text/css"?>
  56.  
  57. <?xul-overlay href="chrome://googlebar/content/googlebarContextOverlay.xul"?>
  58. <?xul-overlay href="chrome://googlebar/content/googlebarPopupOverlay.xul"?>
  59. <?xul-overlay href="chrome://googlebar/content/googlebarExtrasOverlay.xul"?>
  60.  
  61. <!DOCTYPE window SYSTEM "chrome://googlebar/locale/googlebar.dtd" >
  62.  
  63. <!-- If you haven't read the disclaimer on our development site yet, please do -
  64.      while we encourage development of the toolbar, we'd appreciate A) The credit
  65.      for originally writing it and B) notification if you plan to modify and redistribute
  66.      it. We're always looking for help in the ongoing development -->
  67.  
  68.  
  69. <overlay id="googlebarToolbar"
  70.         xmlns:html="http://www.w3.org/1999/xhtml"
  71.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  72.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  73.         orient="vertical"
  74.         onload="googlebarInitPrefs()">
  75.  
  76. <!-- Px additions -->
  77.  
  78. <keyset id="mainKeyset">
  79. <!-- F8 used by Prefbar from Aaron at xulplanet as well : ) -->
  80.     <key id="key_googlebarShowHide" keycode="VK_F8" modifiers="accel" command="cmd_googlebarShowHide"/>
  81.     <key id="key_googlebarShowHide2" keycode="VK_F8" modifiers="shift" command="cmd_googlebarShowHide"/>
  82.     <key id="key_boxFocus" keycode="VK_F12" modifiers="accel" command="cmd_googlebarCriteriaFocus"/>
  83.     <key id="key_boxFocus2" keycode="VK_F12" modifiers="shift" command="cmd_googlebarCriteriaFocus"/>
  84.     <key id="key_googlebarStatefulShowFocus" key="k" modifiers="accel,shift" command="cmd_googlebarStatefulShowFocus"/>
  85. </keyset>
  86.  
  87. <commandset id="mainCommandSet">
  88. <!--     <command id="cmd_googlebarShowHide" oncommand="goToggleToolbar('googlebar','cmd_googlebarShowHide');"/> -->
  89.     <command id="cmd_googlebarShowHide" oncommand="if(document.getElementById('googlebar').getAttribute('hidden') == 'true') { googlebarIsUnHiding(); } else { googlebarIsHiding(); }"/>
  90.     <command id="cmd_googlebarCriteriaFocus" oncommand="googlebarCriteriaFocus();"/>
  91.     <command id="cmd_googlebarStatefulShowFocus" oncommand="googlebarStatefulShowFocus();"/>
  92. </commandset>
  93.  
  94. <!-- Px additions -->
  95.  
  96. <!-- Show/Hide Googlebar Key, setfocus to criteriaBox -->
  97. <keyset id="navigationKeys">
  98.     <key id="key_googlebarShowHide" keycode="VK_F8" modifiers="accel" command="cmd_googlebarShowHide"/>
  99.     <key id="key_googlebarShowHide2" keycode="VK_F8" modifiers="shift" command="cmd_googlebarShowHide"/>
  100.     <key id="key_boxFocus" keycode="VK_F12" modifiers="accel" command="cmd_googlebarCriteriaFocus"/>
  101.     <key id="key_boxFocus2" keycode="VK_F12" modifiers="shift" command="cmd_googlebarCriteriaFocus"/>
  102.     <key id="key_googlebarStatefulShowFocus" key="k" modifiers="accel,shift" command="cmd_googlebarStatefulShowFocus"/>
  103. </keyset>
  104.  
  105. <commandset id="commands">
  106.     <command id="cmd_googlebarShowHide" oncommand="if(document.getElementById('googlebar').getAttribute('hidden') == 'true') { googlebarIsUnHiding(); } else { googlebarIsHiding(); }"/>
  107.     <command id="cmd_googlebarCriteriaFocus" oncommand="googlebarCriteriaFocus();"/>
  108.     <command id="cmd_googlebarStatefulShowFocus" oncommand="googlebarStatefulShowFocus();"/>
  109. </commandset>
  110. <!-- Show/Hide Googlebar Key, setfocus to criteriaBox -->
  111.  
  112. <stringbundleset id="stringbundleset">
  113.     <stringbundle id="bundle_googlebar" src="chrome://googlebar/locale/googlebar.properties"/>
  114. </stringbundleset>
  115.  
  116. <script src="chrome://global/content/nsDragAndDrop.js"/>
  117. <script src="chrome://global/content/nsTransferable.js"/> 
  118.  
  119. <script type="application/x-javascript" src="googlebarUtil.js"/>
  120. <script type="application/x-javascript" src="googlebarOverlay.js"/>
  121. <script type="application/x-javascript" src="googlebarHighlight.js"/>
  122. <script type="application/x-javascript" src="googlebarDragAndDrop.js"/>
  123. <script type="application/x-javascript" src="googlebarExtrasOverlay.js"/>
  124. <!-- script type="application/x-javascript" src="uninstall.js"/ -->
  125.  
  126. <script type="application/x-javascript">
  127.  
  128.     window.addEventListener("load",googlebarDisplayCheck,true);
  129.     window.addEventListener("keypress",googlebarDisplayCheck,true);
  130.     window.addEventListener("mousemove",googlebarDisplayCheck,true);
  131.  
  132.     // event listener to update the search term buttons overflow status
  133.     window.addEventListener("resize",googlebarCheckSearchbuttons,true);
  134.  
  135. </script>
  136.  
  137. <broadcasterset id="navBroadcasters">
  138. <broadcaster id="cmd_googlebarShowHide"
  139.     oncommand="goToggleToolbar('googlebar', 'view_gg_menuitem')"
  140.     checked="true"/>
  141. <broadcaster id="googlebar_contextpref" hidden="false"/>
  142. </broadcasterset>
  143.  
  144. <popupset>
  145.   <popup id="hideTooltip" oncreate="return false;">
  146.    <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  147.      width="200" height="20" style="border: thin solid black">
  148.         <titledbutton id="replaceMe" align="left" class="borderless paneltitle"/>
  149.    </window>
  150.   </popup>
  151. </popupset>
  152.  
  153. <menupopup id="view_toolbars_popup">
  154.    <menuitem id="view_gg_menuitem"
  155.     label="&googlebar.name;"
  156.     class="menuitem-iconic"
  157.     type="checkbox"
  158.     key="key_googlebarShowHide"
  159.     observes="cmd_googlebarShowHide"/>
  160. </menupopup>
  161.  
  162. <window id="main-window">
  163. <popupset id="Googlebar-popup">
  164.     <popup id="Googlebar-contextmenu"/>
  165. </popupset>
  166. </window>
  167.  
  168. <toolbox id="navigator-toolbox">
  169. <toolbar id="googlebar"
  170.     class="chromeclass-toolbar"
  171.     persist="hidden"
  172.     hidden="false"
  173.     inherits="hidden"
  174.     tooltip="aTooltip"
  175.     grippytooltiptext="&googlebar.name;"
  176.     pack="start"
  177.     context="Googlebar-contextmenu">
  178.  
  179. <hbox pack="start" align="center" flex="1">
  180.  
  181. <toolbarbutton type="menu"
  182.     id="google-menu"
  183.     container="true"
  184.     tooltiptext="&button.menu;">
  185.  
  186.    <menupopup>
  187.    <menuitem label="&menu.homepage;"
  188.     onmouseup="googlebarDoAction('http://www.google.com', googlebarGetLocFromEvent(event))"
  189.     tooltiptext="&menu.homepage;"/>
  190.  
  191.    <menuitem label="&menu.gmail;"
  192.     onmouseup="googlebarDoAction('http://gmail.google.com', googlebarGetLocFromEvent(event))"
  193.     tooltiptext="&menu.gmail;"/>
  194.     
  195.    <menuitem label="&menu.images;"
  196.        onmouseup="googlebarDoAction('http://images.google.com', googlebarGetLocFromEvent(event))"
  197.     tooltiptext="&menu.images;"/>
  198.  
  199.    <menuitem label="&menu.groups;"
  200.     onmouseup="googlebarDoAction('http://groups.google.com', googlebarGetLocFromEvent(event))"
  201.     tooltiptext="&menu.groups;"/>
  202.  
  203.    <menuitem label="&menu.directory;"
  204.     onmouseup="googlebarDoAction('http://www.google.com/dirhp', googlebarGetLocFromEvent(event))"
  205.     tooltiptext="&menu.directory;"/>
  206.  
  207.    <menuitem label="&menu.news;"
  208.     onmouseup="googlebarDoAction(googlebarNewsLocation(), googlebarGetLocFromEvent(event))"
  209.     tooltiptext="&menu.news;"/>
  210.  
  211.    <menuitem label="&menu.answers;"
  212.     onmouseup="googlebarDoAction('http://answers.google.com/answers/main', googlebarGetLocFromEvent(event))"
  213.     tooltiptext="&menu.answers;"/>
  214.  
  215.    <menuseparator/>
  216.  
  217.    <menuitem label="&menu.advanced;"
  218.     onmouseup="googlebarDoAction('http://www.google.com/advanced_search', googlebarGetLocFromEvent(event))"
  219.     tooltiptext="&menu.advanced;"/>
  220.  
  221.    <menuitem label="&menu.preferences;"
  222.     onmouseup="googlebarOpenGooglePrefs()"
  223.     tooltiptext="&menu.preferences;"/>
  224.  
  225.    <menuitem label="&menu.tools;"
  226.     onmouseup="googlebarDoAction('http://www.google.com/language_tools', googlebarGetLocFromEvent(event))"
  227.     tooltiptext="&menu.tools;"/>
  228.  
  229.    <menuitem label="&menu.help;"
  230.     onmouseup="googlebarDoAction(document.getElementById('bundle_googlebar').getString('gb.help_url'), googlebarGetLocFromEvent(event))"
  231.     tooltiptext="&menu.help;"/>
  232.  
  233.    <menuseparator/>
  234.  
  235.    <menuitem label="&menu.options;"
  236.     onmouseup="googlebarOpenPrefs()"
  237.     tooltiptext="&menu.options;"/>
  238.  
  239.    <menuitem label="&menu.clear;"
  240.     onmouseup="googlebarClearHistory( true )"
  241.     tooltiptext="&menu.clear;"/>
  242.  
  243.    <menuseparator/>
  244.  
  245.    <menuitem label="&menu.updates;"
  246.     onmouseup="window._content.document.location=document.getElementById('bundle_googlebar').getString('gb.googlebar_url')"
  247.     tooltiptext="&menu.updates;"/>
  248.  
  249.    </menupopup>
  250. </toolbarbutton>
  251.  
  252. <hbox id="search-textbox" flex="1" persist="collapsed width" collapsed="false" maxheight="28" height="28">
  253. <deck flex="1">
  254.  
  255. <menulist
  256.     id="googlebarCriteria"
  257.     editable="true"
  258.     onkeypress="if( event.keyCode == 13 ) { googlebarSearch(event); }"
  259.     onkeyup="googlebarClearTerms(); googlebarAddTerm(this.value); myGooglebarHighlight.delayHighlight(); googlebarSuggest(this.value);"
  260.     onfocus="googlebarCriteriaSelect(event);"
  261.     onclick="googlebarCriteriaSelect(event);"
  262.     ondblclick="googlebarCriteriaSelect(event);"
  263.     onmousedown="googlebarCriteriaSelect(event);"
  264.     onmouseover="googlebarCriteriaTooltip();"
  265.     tooltiptext="&googlebarSearchText.tooltip;"
  266.     statustext="&googlebarSearchText.statustext;"
  267.     flex="1"
  268.     minwidth="60"
  269.     width="250">
  270.   <menupopup id="googlebarCriteriaMenu" onpopuphiding="googlebarCheckSearchbuttons();"/>
  271. </menulist>
  272.  
  273. <hbox id="googlebarHiddenBox" flex="1" minwidth="0" width="0">
  274.     <iframe id="googleSuggestFrame" flex="1"/>
  275. </hbox>
  276.  
  277. <menulist
  278.     id="googlebarSuggest"
  279.     flex="1"
  280.     minwidth="60"
  281.     width="250">
  282.   <menupopup id="googlebarSuggestMenu"/>
  283. </menulist>
  284.  
  285. </deck>
  286. </hbox>
  287.  
  288. <splitter id="resize-splitter"
  289.     state="open"
  290.     collapse="none"
  291.     resizebefore="closest"
  292.     resizeafter="farthest"
  293.     persist="hidden"
  294.     hidden="false"
  295.     onmouseup="googlebarCheckSearchbuttons();"
  296.     tooltiptext="&misc.resize;">
  297.    <vbox id="resizer-bar" tooltiptext="&misc.resize;"/>
  298. </splitter>
  299.  
  300. <hbox id="googlebar-buttons"
  301.     dragdroparea="googlebar-buttons"
  302.     flex="10"
  303.     pack="left">
  304.  
  305.    <toolbarbutton id="cust-menu"
  306.     buttonclass="cust-menu"
  307.     class="cust-menu dragbordernone"
  308.     type="menu-button"
  309.     container="true"
  310.     buttonlabel="&button.cust.label;"
  311.     originallabel="&button.cust.label;"
  312.     tooltiptext="&button.cust;"
  313.     originaltooltip="&button.cust;"
  314.     oncommand="googlebarShowPopup(event)"
  315.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  316.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  317.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  318.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  319.     persist="hidden ordinal"
  320.     hidden="true"
  321.     ordinal="1">
  322.    <menupopup id="cust-popup"/>
  323.    </toolbarbutton>
  324.  
  325.    <!--
  326.     Primary buttons will match google toolbar order:
  327.     Search, Site, Lucky, Images, Groups, Directory, News, Answers
  328.      -->
  329.  
  330.    <toolbarbutton id="gbsearch-separate"
  331.     class="gbsearch-separate dragbordernone"
  332.     buttonclass="gbsearch-separate"
  333.     buttonlabel="&button.search.label;"
  334.     tooltiptext="&button.search;"
  335.     onclick="if (event.button == 1) { googlebarSearch(event,'default', 0 ) }"
  336.     oncommand="googlebarSearch(event,'default', 0 )"
  337.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  338.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  339.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  340.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  341.     persist="hidden ordinal"
  342.     hidden="false"
  343.     ordinal="2">
  344.    </toolbarbutton>
  345.  
  346.    <toolbarbutton id="site-separate"
  347.     buttonclass="site-separate"
  348.     class="site-separate dragbordernone"
  349.     buttonlabel="&button.site.label;"
  350.     tooltiptext="&button.site;"
  351.     onclick="if (event.button == 1) { googlebarSearch(event,'site', 0 ) }"
  352.     oncommand="googlebarSearch(event,'site', 0 )"
  353.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  354.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  355.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  356.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  357.     persist="hidden ordinal"
  358.     hidden="false"
  359.     ordinal="3"/>
  360.  
  361.    <toolbarbutton id="lucky-separate"
  362.     buttonclass="lucky-separate"
  363.     class="lucky-separate dragbordernone"
  364.     buttonlabel="&button.lucky.label;"
  365.     tooltiptext="&button.lucky;"
  366.     onclick="if (event.button == 1) { googlebarSearch(event,'lucky', 0 ) }"
  367.     oncommand="googlebarSearch(event,'lucky', 0 )"
  368.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  369.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  370.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  371.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  372.     persist="hidden ordinal"
  373.     hidden="false"
  374.     ordinal="4"/>
  375.  
  376.    <toolbarbutton id="images-separate"
  377.     buttonclass="images-separate"
  378.     class="images-separate dragbordernone"
  379.     buttonlabel="&button.images.label;"
  380.     tooltiptext="&button.images;"
  381.     onclick="if (event.button == 1) { googlebarSearch(event,'images', 0 ) }"
  382.     oncommand="googlebarSearch(event,'images', 0 )"
  383.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  384.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  385.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  386.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  387.     persist="hidden ordinal"
  388.     hidden="true"
  389.     ordinal="5"/>
  390.  
  391.    <toolbarbutton id="groups-separate"
  392.     buttonclass="groups-separate"
  393.     class="groups-separate dragbordernone"
  394.     buttonlabel="&button.groups.label;"
  395.     tooltiptext="&button.groups;"
  396.     onclick="if (event.button == 1) { googlebarSearch(event,'groups', 0 ) }"
  397.     oncommand="googlebarSearch(event,'groups', 0 )"
  398.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  399.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  400.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  401.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  402.     persist="hidden ordinal"
  403.     hidden="false"
  404.     ordinal="6"/>
  405.  
  406.    <toolbarbutton id="directory-separate"
  407.     buttonclass="directory-separate"
  408.     class="directory-separate dragbordernone"
  409.     buttonlabel="&button.directory.label;"
  410.     tooltiptext="&button.directory;"
  411.     onclick="if (event.button == 1) { googlebarSearch(event,'directory', 0 ) }"
  412.     oncommand="googlebarSearch(event,'directory', 0 )"
  413.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  414.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  415.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  416.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  417.     persist="hidden ordinal"
  418.     hidden="false"
  419.     ordinal="7"/>
  420.  
  421.    <toolbarbutton id="news-separate"
  422.     buttonclass="news-separate"
  423.     class="news-separate dragbordernone"
  424.     buttonlabel="&button.news.label;"
  425.     tooltiptext="&button.news;"
  426.     onclick="if (event.button == 1) { googlebarSearch(event,'news', 0 ) }"
  427.     oncommand="googlebarSearch(event,'news', 0 )"
  428.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  429.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  430.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  431.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  432.     persist="hidden ordinal"
  433.     hidden="true"
  434.     ordinal="8"/>
  435.  
  436.    <toolbarbutton id="answers-separate"
  437.     buttonclass="answers-separate"
  438.     class="answers-separate dragbordernone"
  439.     buttonlabel="&button.answers.label;"
  440.     tooltiptext="&button.answers;"
  441.     onclick="if (event.button == 1) { googlebarSearch(event,'answers', 0 ) }"
  442.     oncommand="googlebarSearch(event,'answers', 0 )"
  443.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  444.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  445.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  446.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  447.     persist="hidden ordinal"
  448.     hidden="true"
  449.     ordinal="9"/>
  450.  
  451.    <toolbarbutton id="scholar-separate"
  452.     buttonclass="scholar-separate"
  453.     class="scholar-separate dragbordernone"
  454.     buttonlabel="&button.scholar.label;"
  455.     tooltiptext="&button.scholar;"
  456.     onclick="if (event.button == 1) { googlebarSearch(event,'scholar', 0 ) }"
  457.     oncommand="googlebarSearch(event,'scholar', 0 )"
  458.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  459.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  460.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  461.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  462.     persist="hidden ordinal"
  463.     hidden="true"
  464.     ordinal="10"/>
  465.  
  466.    <toolbarbutton id="catalog-separate"
  467.     buttonclass="catalog-separate"
  468.     class="catalog-separate dragbordernone"
  469.     buttonlabel="&button.catalog.label;"
  470.     tooltiptext="&button.catalog;"
  471.     onclick="if (event.button == 1) { googlebarSearch(event,'Catalog', 0 ) }"
  472.     oncommand="googlebarSearch(event,'Catalog', 0 )"
  473.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  474.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  475.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  476.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  477.     persist="hidden ordinal"
  478.     hidden="true"
  479.     ordinal="11"/>
  480.  
  481.    <toolbarbutton id="froogle-separate"
  482.     buttonclass="froogle-separate"
  483.     class="froogle-separate dragbordernone"
  484.     buttonlabel="&button.froogle.label;"
  485.     tooltiptext="&button.froogle;"
  486.     onclick="if (event.button == 1) { googlebarSearch(event,'froogle', 0 ) }"
  487.     oncommand="googlebarSearch(event,'froogle', 0 )"
  488.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  489.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  490.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  491.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  492.     persist="hidden ordinal"
  493.     hidden="true"
  494.     ordinal="12"/>
  495.  
  496.    <toolbarbutton id="stocks-separate"
  497.     buttonclass="stocks-separate"
  498.     class="stocks-separate dragbordernone"
  499.     buttonlabel="&button.stocks.label;"
  500.     tooltiptext="&button.stocks;"
  501.     onclick="if (event.button == 1) { googlebarSearch(event,'stocks', 0 ) }"
  502.     oncommand="googlebarSearch(event,'stocks', 0 )"
  503.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  504.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  505.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  506.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  507.     persist="hidden ordinal"
  508.     hidden="true"
  509.     ordinal="13"/>
  510.  
  511.    <toolbarbutton id="unclesam-separate"
  512.     buttonclass="unclesam-separate"
  513.     class="unclesam-separate dragbordernone"
  514.     buttonlabel="&button.unclesam.label;"
  515.     tooltiptext="&button.unclesam;"
  516.     onclick="if (event.button == 1) { googlebarSearch(event,'USA', 0 ) }"
  517.     oncommand="googlebarSearch(event,'USA', 0 )"
  518.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  519.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  520.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  521.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  522.     persist="hidden ordinal"
  523.     hidden="true"
  524.     ordinal="14"/>
  525.  
  526.    <toolbarbutton id="viewer-separate"
  527.     buttonclass="viewer-separate"
  528.     class="viewer-separate dragbordernone"
  529.     buttonlabel="&button.viewer.label;"
  530.     tooltiptext="&button.viewer;"
  531.     onclick="if (event.button == 1) { googlebarSearch(event,'viewer', 0 ) }"
  532.     oncommand="googlebarSearch(event,'viewer', 0 )"
  533.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  534.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  535.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  536.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  537.     persist="hidden ordinal"
  538.     hidden="true"
  539.     ordinal="15"/>
  540.  
  541.    <toolbarbutton id="webquotes-separate"
  542.     buttonclass="webquotes-separate"
  543.     class="webquotes-separate dragbordernone"
  544.     buttonlabel="&button.webquotes.label;"
  545.     tooltiptext="&button.webquotes;"
  546.     onclick="if (event.button == 1) { googlebarSearch(event,'webquotes', 0 ) }"
  547.     oncommand="googlebarSearch(event,'webquotes', 0 )"
  548.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  549.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  550.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  551.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  552.     persist="hidden ordinal"
  553.     hidden="true"
  554.     ordinal="16"/>
  555.  
  556.    <toolbarbutton id="dictionary-separate"
  557.     buttonclass="dictionary-separate"
  558.     class="dictionary-separate dragbordernone"
  559.     buttonlabel="&button.dict.label;"
  560.     tooltiptext="&button.dict;"
  561.     onclick="if (event.button == 1) { googlebarSearch(event,'dictionary', 0 ) }"
  562.     oncommand="googlebarSearch(event,'dictionary', 0 )"
  563.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  564.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  565.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  566.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  567.     persist="hidden ordinal"
  568.     hidden="true"
  569.     ordinal="17"/>
  570.  
  571.    <toolbarbutton id="glossary-separate"
  572.     buttonclass="glossary-separate"
  573.     class="glossary-separate dragbordernone"
  574.     buttonlabel="&button.gloss.label;"
  575.     tooltiptext="&button.gloss;"
  576.     onclick="if (event.button == 1) { googlebarSearch(event,'glossary', 0 ) }"
  577.     oncommand="googlebarSearch(event,'glossary', 0 )"
  578.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  579.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  580.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  581.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  582.     persist="hidden ordinal"
  583.     hidden="true"
  584.     ordinal="18"/>
  585.  
  586.    <toolbarbutton id="bsd-separate"
  587.     buttonclass="bsd-separate"
  588.     class="bsd-separate dragbordernone"
  589.     buttonlabel="&button.bsd.label;"
  590.     tooltiptext="&button.bsd;"
  591.     onclick="if (event.button == 1) { googlebarSearch(event,'bsd', 0 ) }"
  592.     oncommand="googlebarSearch(event,'bsd', 0 )"
  593.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  594.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  595.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  596.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  597.     persist="hidden ordinal"
  598.     hidden="true"
  599.     ordinal="19"/>
  600.  
  601.    <toolbarbutton id="linux-separate"
  602.     buttonclass="linux-separate"
  603.     class="linux-separate dragbordernone"
  604.     buttonlabel="&button.linux.label;"
  605.     tooltiptext="&button.linux;"
  606.     onclick="if (event.button == 1) { googlebarSearch(event,'linux', 0 ) }"
  607.     oncommand="googlebarSearch(event,'linux', 0 )"
  608.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  609.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  610.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  611.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  612.     persist="hidden ordinal"
  613.     hidden="true"
  614.     ordinal="20"/>
  615.  
  616.    <toolbarbutton id="mac-separate"
  617.     buttonclass="mac-separate"
  618.     class="mac-separate dragbordernone"
  619.     buttonlabel="&button.mac.label;"
  620.     tooltiptext="&button.mac;"
  621.     onclick="if (event.button == 1) { googlebarSearch(event,'mac', 0 ) }"
  622.     oncommand="googlebarSearch(event,'mac', 0 )"
  623.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  624.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  625.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  626.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  627.     persist="hidden ordinal"
  628.     hidden="true"
  629.     ordinal="21"/>
  630.  
  631.    <toolbarbutton id="microsoft-separate"
  632.     buttonclass="microsoft-separate"
  633.     class="microsoft-separate dragbordernone"
  634.     buttonlabel="&button.microsoft.label;"
  635.     tooltiptext="&button.microsoft;"
  636.     onclick="if (event.button == 1) { googlebarSearch(event,'microsoft', 0 ) }"
  637.     oncommand="googlebarSearch(event,'microsoft', 0 )"
  638.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  639.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  640.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  641.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  642.     persist="hidden ordinal"
  643.     hidden="true"
  644.     ordinal="22"/>
  645.  
  646.    <vbox id="separator1" class="separator" persist="hidden ordinal" hidden="false" ordinal="23"/>
  647.  
  648.    <toolbarbutton id="gb-options-separate"
  649.     buttonclass="gb-options-separate"
  650.     class="gb-options-separate"
  651.     buttonlabel="&button.menu.label;"
  652.     tooltiptext="&button.menu;"
  653.     oncommand="googlebarOpenPrefs()"
  654.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  655.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  656.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  657.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  658.     persist="hidden ordinal"
  659.     hidden="false"
  660.     ordinal="24"/>
  661.  
  662.    <toolbarbutton id="spec-menu"
  663.     buttonclass="spec-menu"
  664.     class="spec-menu dragbordernone"
  665.     type="menu-button"
  666.     container="true"
  667.     buttonlabel="&button.spec.label;"
  668.     originallabel="&button.spec.label;"
  669.     tooltiptext="&button.spec;"
  670.     originaltooltip="&button.spec;"
  671.     oncommand="googlebarShowPopup(event)"
  672.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  673.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  674.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  675.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  676.     persist="hidden ordinal"
  677.     hidden="false"
  678.     ordinal="25">
  679.    <menupopup id="spec-popup"/>
  680.    </toolbarbutton>
  681.  
  682.    <toolbarbutton id="comp-menu"
  683.     buttonclass="comp-menu"
  684.     class="comp-menu dragbordernone"
  685.     type="menu-button"
  686.     container="true"
  687.     buttonlabel="&button.comp.label;"
  688.     originallabel="&button.comp.label;"
  689.     tooltiptext="&button.comp;"
  690.     originaltooltip="&button.comp;"
  691.     oncommand="googlebarShowPopup(event)"
  692.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  693.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  694.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  695.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  696.     persist="hidden ordinal"
  697.     hidden="false"
  698.     ordinal="26">
  699.    <menupopup id="comp-popup"/>
  700.    </toolbarbutton>
  701.  
  702.    <toolbarbutton id="univ-button"
  703.     buttonclass="univ-button"
  704.     class="univ-button dragbordernone"
  705.     type="menu-button"
  706.     container="true"
  707.     buttonlabel="&button.univ.label;"
  708.       tooltiptext="&button.univ; - &button.univ.none;"
  709.     disabled="false"
  710.     oncommand="univGo(event)"
  711.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  712.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  713.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  714.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  715.     persist="hidden ordinal"
  716.     hidden="false"
  717.     ordinal="27">
  718.    <menupopup id="univ-popup"/>
  719.    </toolbarbutton>
  720.  
  721.    <vbox id="separator2" class="separator" persist="hidden ordinal" hidden="false" ordinal="28"/>
  722.  
  723.    <hbox id="extras-box"
  724.     persist="hidden ordinal"
  725.     hidden="true"
  726.     ordinal="29"/>
  727.  
  728.    <toolbarbutton id="info-menu"
  729.     buttonclass="info-menu"
  730.     class="info-menu dragbordernone"
  731.     type="menu-button"
  732.     container="true"
  733.     buttonlabel="&button.info.label;"
  734.     originallabel="&button.info.label;"
  735.     tooltiptext="&button.info;"
  736.     originaltooltip="&button.info;"
  737.     oncommand="googlebarShowPopup(event)"
  738.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  739.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  740.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  741.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  742.     persist="hidden ordinal"
  743.     hidden="false"
  744.     ordinal="30">
  745.    <menupopup id="info-popup"/>
  746.    </toolbarbutton>
  747.  
  748.    <toolbarbutton id="cached-separate"
  749.     buttonclass="cached-separate"
  750.     class="cached-separate dragbordernone"
  751.     buttonlabel="&info.cached.label;"
  752.     tooltiptext="&info.cached;"
  753.     onclick="if (event.button == 1) { googlebarSearch(event,'cache', 0 ) }"
  754.     oncommand="googlebarSearch(event,'cache', 0 )"
  755.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  756.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  757.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  758.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  759.     persist="hidden ordinal"
  760.     hidden="true"
  761.     ordinal="31"/>
  762.  
  763.    <toolbarbutton id="similar-separate"
  764.     buttonclass="similar-separate"
  765.     class="similar-separate dragbordernone"
  766.     buttonlabel="&info.similar.label;"
  767.     tooltiptext="&info.similar;"
  768.     onclick="if (event.button == 1) { googlebarSearch(event,'similar', 0 ) }"
  769.     oncommand="googlebarSearch(event,'similar', 0 )"
  770.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  771.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  772.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  773.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  774.     persist="hidden ordinal"
  775.     hidden="true"
  776.     ordinal="32"/>
  777.  
  778.    <toolbarbutton id="backwards-separate"
  779.     buttonclass="backwards-separate"
  780.     class="backwards-separate dragbordernone"
  781.     buttonlabel="&info.backwards.label;"
  782.     tooltiptext="&info.backwards;"
  783.     onclick="if (event.button == 1) { googlebarSearch(event,'backwards', 0 ) }"
  784.     oncommand="googlebarSearch(event,'backwards', 0 )"
  785.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  786.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  787.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  788.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  789.     persist="hidden ordinal"
  790.     hidden="true"
  791.     ordinal="33"/>
  792.  
  793.    <toolbarbutton id="translate-separate"
  794.     buttonclass="translate-separate"
  795.     class="translate-separate dragbordernone"
  796.     buttonlabel="&info.translate.label;"
  797.     tooltiptext="&info.translate;"
  798.     onclick="if (event.button == 1) { googlebarSearch(event,'translate', 0 ) }"
  799.     oncommand="googlebarSearch(event,'translate', 0 )"
  800.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  801.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  802.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  803.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  804.     persist="hidden ordinal"
  805.     hidden="true"
  806.     ordinal="34"/>
  807.  
  808.    <toolbarbutton id="up-dir-button"
  809.     buttonclass="up-dir-button"
  810.     class="up-dir-button dragbordernone"
  811.     type="menu-button"
  812.     container="true"
  813.     buttonlabel="&button.up-dir.label;"
  814.     tooltiptext="&button.up-dir;"
  815.     disabled="true"
  816.     onclick="if (event.button == 1) { googlebarUp(event) }"
  817.     oncommand="googlebarUp(event)"
  818.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  819.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  820.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  821.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  822.     persist="hidden ordinal"
  823.     hidden="false"
  824.     ordinal="35">
  825.    <menupopup id="up-dir-popup"/>
  826.    </toolbarbutton>
  827.  
  828.    <hbox id="nav-box"
  829.     persist="hidden ordinal"
  830.     hidden="false"
  831.     ordinal="36">
  832.  
  833.       <vbox id="navseparator" class="separator"/>
  834.  
  835.       <toolbarbutton id="last-button"
  836.         buttonclass="last-button"
  837.         class="last-button"
  838.         type="menu-button"
  839.         container="true"
  840.         buttonlabel="&button.nav.last.label;"
  841.         tooltiptext="&button.nav.last.tooltip;"
  842.         disabled="true">
  843.       <menupopup id="last-button-popup"/>
  844.       </toolbarbutton>
  845.  
  846.       <toolbarbutton id="prev-button"
  847.         buttonclass="prev-button"
  848.         class="prev-button"
  849.         type="menu-button"
  850.         container="true"
  851.         buttonlabel="&button.nav.prev.label;"
  852.         tooltiptext="&button.nav.prev.tooltip;"
  853.         disabled="true">
  854.       <menupopup id="prev-button-popup"/>
  855.       </toolbarbutton>
  856.  
  857.       <toolbarbutton id="next-button"
  858.         buttonclass="next-button"
  859.         class="next-button" 
  860.         type="menu-button"
  861.         container="true"
  862.         buttonlabel="&button.nav.next.label;"
  863.         tooltiptext="&button.nav.next.tooltip;"
  864.         disabled="true">
  865.       <menupopup id="next-button-popup"/>
  866.       </toolbarbutton>
  867.           
  868.    </hbox>
  869.  
  870.    <vbox id="separator3" class="separator" persist="hidden ordinal" hidden="false" ordinal="37"/>
  871.  
  872.    <toolbarbutton id="highlightplus-button"
  873.     buttonclass="highlightplus-button"
  874.     class="highlightplus-button dragbordernone"
  875.     buttonlabel="&button.highlightplus.label;"
  876.     tooltiptext="&button.highlightplus;"
  877.     oncommand="googlebarPaste(event)"
  878.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  879.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  880.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  881.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  882.     persist="hidden ordinal"
  883.     hidden="false"
  884.     ordinal="38">
  885.    <observes element="cmd_copy" attribute="disabled"/>
  886.    </toolbarbutton>
  887.  
  888.    <toolbarbutton id="highlight-button"
  889.     buttonclass="highlight-button"
  890.     class="highlight-button dragbordernone"
  891.     buttonlabel="&button.highlight.label;"
  892.     tooltiptext="&button.highlight;"
  893.     disabled="true"
  894.     oncommand="myGooglebarHighlight.highLightInPage()"
  895.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  896.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  897.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  898.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  899.     persist="hidden ordinal"
  900.     hidden="false"
  901.     ordinal="39"
  902.     activated="false"/>
  903.  
  904.    <toolbarbutton id="gblogger-separate"
  905.     buttonclass="gblogger-separate"
  906.     class="gblogger-separate dragbordernone"
  907.     buttonlabel="&button.gblogger.label;"
  908.     tooltiptext="&button.gblogger;"
  909.     onclick="if (event.button == 1) { googlebarSearch(event,'gblogger', 0 ) }"
  910.     oncommand="googlebarSearch(event,'gblogger', 0 )"
  911.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  912.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  913.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  914.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  915.     persist="hidden ordinal"
  916.     hidden="true"
  917.     ordinal="40"/>
  918.  
  919.    <toolbarbutton id="nocalc-separate"
  920.     buttonclass="nocalc-separate"
  921.     class="nocalc-separate dragbordernone"
  922.     buttonlabel="&button.nocalc.label;"
  923.     tooltiptext="&button.nocalc;"
  924.     onclick="if (event.button == 1) { googlebarSearch(event,'nocalc', 0 ) }"
  925.     oncommand="googlebarSearch(event,'nocalc', 0 )"
  926.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  927.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  928.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  929.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  930.     persist="hidden ordinal"
  931.     hidden="true"
  932.     ordinal="41"/>
  933.  
  934.    <toolbarbutton id="gb-prefill-separate"
  935.     buttonclass="gb-prefill-separate"
  936.     class="gb-prefill-separate dragbordernone"
  937.     buttonlabel="&button.gb-prefill.label;"
  938.     tooltiptext="&button.gb-prefill;"
  939.     onclick="if (event.button == 1) { googlebarSearch(event,'gb-prefill', 'NO_SEARCH') }"
  940.     oncommand="googlebarSearch(event,'gb-prefill', 'NO_SEARCH')"
  941.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  942.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  943.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  944.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  945.     persist="hidden ordinal"
  946.     hidden="true"
  947.     ordinal="42"/>
  948.  
  949.    <toolbarbutton id="gb-mycountry-separate"
  950.     buttonclass="gb-mycountry-separate"
  951.     class="gb-mycountry-separate dragbordernone"
  952.     buttonlabel="&button.gb-mycountry.label;"
  953.     tooltiptext="&button.gb-mycountry;"
  954.     onclick="if (event.button == 1) { googlebarSearch(event,'gb-mycountry', 0 ) }"
  955.     oncommand="googlebarSearch(event,'gb-mycountry', 0 )"
  956.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  957.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  958.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  959.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  960.     persist="hidden ordinal"
  961.     hidden="true"
  962.     ordinal="43"/>
  963.  
  964.    <toolbarbutton id="gb-mylocal-separate"
  965.     buttonclass="gb-mylocal-separate"
  966.     class="gb-mylocal-separate dragbordernone"
  967.     buttonlabel="&button.gb-mylocal.label;"
  968.     tooltiptext="&button.gb-mylocal;"
  969.     onclick="if (event.button == 1) { googlebarSearch(event,'gb-mylocal', 'REPROGRAM' ) }"
  970.     oncommand="googlebarSearch(event,'gb-mylocal', 0 )"
  971.     ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
  972.     ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
  973.     ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
  974.     ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
  975.     persist="hidden ordinal"
  976.     hidden="true"
  977.     ordinal="44"/>
  978. </hbox>
  979.  
  980. <hbox flex="1500">
  981.    <hbox id="googlebarSearchTerms"
  982.     align="center"
  983.     persist="hidden"
  984.     hidden="false"
  985.     googlebaroverflow="false"/>
  986.    <toolbarbutton id="searchterms-menu"
  987.     type="menu"
  988.     container="true"
  989.     hidden="true">
  990.    <menupopup id="searchterms-popup"/>
  991.    </toolbarbutton>
  992.    </hbox>
  993. </hbox>
  994.  
  995. </toolbar>
  996. </toolbox>
  997.  
  998. </overlay>
  999.